#include <iostream>
#include "Point"
#include "Computer"

using namespace std;

void test()
{
    Point::getInstance()->display();
    Point::getInstance()->init(3,4);
    Point::getInstance()->display();
    Point::getInstance()->display();
    Point::getInstance()->init(5,12);
    Point::getInstance()->display();
    Point::getInstance()->display();
    Point::destroy();
}

void test1()
{
    Computer::getInstance()->display();
    Computer::getInstance()->init(5699, "M");
    Computer::getInstance()->display();
    Computer::getInstance()->display();
    Computer::destroy();
}

int main()
{
    test1();
    return 0;
}

